package com.uflower.order.test;

import java.util.HashMap;
import java.util.Map;

public class MyOrderVosFactory {
    public static Map<Integer,MyOrderVos> orderVosMap = new HashMap<>();
    public static MyOrderVos buildOrderVos(Integer status){
        return orderVosMap.get(status);
    }
    public static void register(Integer status,MyOrderVos myOrderVos){
        orderVosMap.put(status,myOrderVos);
    }
}
